package com.hht.downloadmanager.bean;

public class FileBean {
    private String fileName;
    private String fileUrl;
    private String filePath;
    private int threadNumber;//下载的线程数

    public FileBean() {
    }

    public FileBean(String fineName, String fileUrl, String filePath, int threadNumber) {
        this.fileName = fineName;
        this.fileUrl = fileUrl;
        this.filePath = filePath;
        this.threadNumber = threadNumber;
    }

    public int getThreadNumber() {
        return threadNumber;
    }

    public void setThreadNumber(int threadNumber) {
        this.threadNumber = threadNumber;
    }

    public String getFineName() {
        return fileName;
    }

    public void setFineName(String fineName) {
        this.fileName = fineName;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    @Override
    public String toString() {
        return "FileBean{" +
                "fileName='" + fileName + '\'' +
                ", fileUrl='" + fileUrl + '\'' +
                ", filePath='" + filePath + '\'' +
                ", threadNumber=" + threadNumber +
                '}';
    }
}
